import request from '@/utils/request'

// 查询系统应用参数配置列表
export function listApplicationConfig(query) {
  return request({
    url: '/system/applicationConfig/list',
    method: 'post',
    data: query
  })
}

// 查询系统应用参数配置数量
export function countApplicationConfig(query) {
  return request({
    url: '/system/applicationConfig/count',
    method: 'post',
    data: query
  })
}

// 查询系统应用参数配置详细
export function getApplicationConfig(id) {
  return request({
    url: '/system/applicationConfig/' + id,
    method: 'get'
  })
}

// 新增系统应用参数配置
export function addApplicationConfig(data) {
  return request({
    url: '/system/applicationConfig',
    method: 'post',
    data: data
  })
}

// 修改系统应用参数配置
export function updateApplicationConfig(data) {
  return request({
    url: '/system/applicationConfig',
    method: 'put',
    data: data
  })
}

// 删除系统应用参数配置
export function delApplicationConfig(id) {
  return request({
    url: '/system/applicationConfig/' + id,
    method: 'delete'
  })
}

// 导出系统应用参数配置
export function exportApplicationConfig(query) {
  return request({
    url: '/system/applicationConfig/export',
    method: 'post',
    data: query
  })
}
